package com.ethink.system.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.ethink.framework.common.db.SuperEntity;

/**
 * 系统菜单表 数据库实体
 *
 * @author default
 * @date 2022-09-26
 */
@Data
@TableName("t_system_menu")
public class SystemMenu extends SuperEntity {

    public static final String PARENT_ID ="parent_id";

    public static final String APP_ID ="app_id";

    public static final String MENU_NAME ="menu_name";

    public static final String TYPE ="type";

    public static final String PATH ="path";

    public static final String PERMS ="perms";

    public static final String ICON ="icon";

    public static final String ORDER_NUM ="order_num";


    /** 上级菜单ID */
    private Long parentId;

    /** 应用系统ID */
    private Long appId;

    /** 菜单名称 */
    private String menuName;

    /** 枚举 菜单类型: 0-菜单(menu) | 1-按钮(button) */
    private Integer type;

    /** 对应路由path */
    private String path;

    /** 权限标识 */
    private String perms;

    /** 图标 */
    private String icon;

    /** 排序 */
    private Integer orderNum;

}
